CollectionItem.IsA

説明

オブジェクトとその親の間に指定の種類のpcet関係があるかどうかを示すBoolean値を戻します。

パラメータ

パラメータ タイプ 詳細
タイプ siPSetRelationship 確認する Pset関係のタイプ

デフォルト値: n/a

VBScript の例

set oRoot = Application.ActiveProject.ActiveScene.Root
set oObject = oRoot.AddGeometry("Cube", "MeshSurface")
set oMaterial = oObject.AddMaterial("Phong")
set oCollectionItem = CreateObject("XSI.CollectionItem")
oCollectionItem.Value = oMaterial.FullName
logmessage "Material is shared? " & oCollectionItem.IsA(siSharedPSet)

関連項目

siPSetRelationship